$(function(){
	// 查询首页端口价格
	var ids = [];
	$("h3[id^='dyna_price']").each(function(){
		ids.push($(this).attr("id").substring(11));
	});
	url = rootPath + "/wx/listFloorProductPrice";
	$.ajax({
		type: 'POST',
		url: url,
		async: true,
		data: {productIds:ids.join(',')},
		dataType: 'json',
		success: function(json) {
			if(json){
				for(var i = 0; i < json.length; i ++){
					if(json[i].basePrice){
						$("#dyna_price_"+json[i].id).html("¥<em>"+numberInteger(json[i].basePrice)+"</em>"+numberDecimal(json[i].basePrice));
					}
				}
			}
		}
	})
	
});